<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css" integrity="sha512-2SwdPD6INVrV/lHTZbO2nodKhrnDdJK9/kg2XD1r9uGqPo1cUbujc+IYdlYdEErWNu69gVcYgdxlmVmzTWnetw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="./css/style.css">
</head>
<body>
    <div class="container">
        <div class="rating">
            <input type="radio" name='clr1' 
            style="--c:orange;"><!--变量定义-->
            <input type="radio" name='clr1' 
            style="--c:orange;">
            <input type="radio" name='clr1' 
            style="--c:orange;">
            <input type="radio" name='clr1' 
            style="--c:orange;">
            <input type="radio" name='clr1' 
            style="--c:orange;">
            <input type="radio" name='clr1' 
            style="--c:orange;">
            <input type="radio" name='clr1' 
            style="--c:orange;">
            <input type="radio" name='clr1' 
            style="--c:orange;">
            <input type="radio" name='clr1' 
            style="--c:orange;">
            <input type="radio" name='clr1' 
            style="--c:orange;">
        </div>
        <div class="rating">
            <input type="radio" name='clr2' 
            style="--c:aqua;">
            <input type="radio" name='clr2' 
            style="--c:aqua;">
            <input type="radio" name='clr2' 
            style="--c:aqua;">
            <input type="radio" name='clr2' 
            style="--c:aqua;">
            <input type="radio" name='clr2' 
            style="--c:aqua;">
            <input type="radio" name='clr2' 
            style="--c:aqua;">
            <input type="radio" name='clr2' 
            style="--c:aqua;">
            <input type="radio" name='clr2' 
            style="--c:aqua;">
            <input type="radio" name='clr2' 
            style="--c:aqua;">
            <input type="radio" name='clr2' 
            style="--c:aqua;">
        </div>
        <div class="rating">
            <input type="radio" name='clr3' 
            style="--c:violet;">
            <input type="radio" name='clr3' 
            style="--c:violet;">
            <input type="radio" name='clr3' 
            style="--c:violet;">
            <input type="radio" name='clr3' 
            style="--c:violet;">
            <input type="radio" name='clr3' 
            style="--c:violet;">
            <input type="radio" name='clr3' 
            style="--c:violet;">
            <input type="radio" name='clr3' 
            style="--c:violet;">
            <input type="radio" name='clr3' 
            style="--c:violet;">
            <input type="radio" name='clr3' 
            style="--c:violet;">
            <input type="radio" name='clr3' 
            style="--c:violet;">
        </div>
    </div>
</body>
</html>